package Arbre;

import Noeud.Noeud;
import Probleme.Instance;
import Probleme.Solution;

public abstract class Arbre {
	
	Noeud racine;
	Instance probleme;
	Solution optimale;
	int nbnoeuds = 0;
	
	public void affiche() {
		System.out.println("nbnoeuds :" + this.nbnoeuds + "\n  " + this.optimale.affiche());
	}
	
	public int getnb() {
		return this.nbnoeuds;
	}
}
